package net.app.zoneland.platform.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import net.app.zoneland.common.core.vo.Result;
import net.app.zoneland.domain.SysUser;
import net.app.zoneland.vo.UserVo;

/**
 * @Description
 * @Author LENOVO
 * @CreateTime 2020/12/20 12:46
 * @Version: 1.0
 */
public interface ISysUserService extends IService<SysUser> {

    IPage<SysUser> list(Page<SysUser> page, SysUser sysUser);

    IPage<SysUser> queryUserPage(Page<SysUser> page, SysUser sysUser);

    UserVo findUserByUsername(String username);

    Result saveUser(SysUser user,String roleIds);

    Result delUserById(SysUser user);

    Result changePwd(SysUser user);

    Result updateUser(UserVo user);
}
